Replan Process
Use the Replan API process to remove variances from any ongoing projects.
Process Settings
Below are the settings you must define for the Replan API process.
| Setting | Description | Sample Value |
|---|---|---|
| ProcessID |
This setting informs Cobra to run the Replan process. |
Replan |
| Project |
This setting refers to the project where you want to run the Replan process. The project name is case-sensitive. This setting is required. |
Demo Advanced |
| UseAdjustingEntry |
If the value is set to 1, Cobra makes an adjustment in the current period when replan is performed. Valid values are 1 and 0. The default value is 0. |
1 |
| ExtendFinishDate |
If the value is set to 1 and the status date is after the work package baseline finish date, the work package baseline finish date is changed to the day after the status date. The adjustment of the date ensures that the replanned entry is within the work package dates. This setting applies only if UseAdjustingEntry is set to 1 and the status date is after the baseline finish date of the work package. Valid values are 1 and 0. The default value is 0. |
1 |
| CreateNewWP |
This setting instructs Cobra to create new work package. This setting is ignored if ReplanMethodId is set to BP and the project's level at which to capture actual costs is set to Control Account. Valid values are 1 and 0. The default value is 0. |
1 |
| AllowPlanned |
If the value is set to 1, Cobra replans the work packages that have not yet started and moves the baseline start date for the work packages to the status date so that the replanned entry occurs within the work package dates. If the value is set to 0, Cobra skips the work package that has not yet started even if there is actual cost for that work package. Valid values are 1 and 0. The default value is 0. |
0 |
| AllowCompleted |
If the value is set to 1, Cobra replans the completed work packages. If the value is set to 0, Cobra replans only the incomplete work packages. Valid values are 1 and 0. The default value is 0. |
0 |
| ProgressAdjustmentClass |
Cobra stores the earned value of the replanned work package in the class that you specify in this setting. Valid values are blank and any progress class. If the value is blank, Cobra uses the default class following this order:
|
Earned |
| Criteria |
Use this setting to specify which project code you want to replan. Valid values are:
The default value is Total Project, which is displayed as ALL in the process log. |
Control Account |
| Selection | Use this setting to specify the code that you want to include in the replan. The available options depend on the selections you made in the
Criteria setting.
If you specify Total Project in the Criteria setting, the Selection setting will be left blank. This setting is optional and has no default value. |
|
| IncludeChildren |
Use this setting to determine whether the process should run against the parent code and its children.
This setting is optional and the default value is 0. |
0 |
| ReplanMethodId |
Use this setting to specify how replan should be calculated. Valid values are:
The default value is
BP.
|
BP |
| NewWPName |
Use this setting to specify the name of the new work package. This setting is required if one of the following conditions are met:
|
RepWP |
| NewWPNameIsSuffix |
If the value is set to 1, Cobra adds the value you specify in the NewWPName setting as suffix to the existing work package name. This setting is ignored if the ReplanMethodId is set to BP and the project's level at which to capture actual costs is set to Control Account. The default value is 0. |
0 |
| NewWPDescription |
Use this setting to specify the description for the new work packages. |
Replan WP |
| LogComment |
Use this setting to specify a comment for the log. |
|
| ChangeNumber |
Use this setting to specify the change number. |
|
| Significant |
If the value is set to 1, Cobra flags the change as significant. Valid values are 1 and 0. |
Sample Script
Below is a sample script file for the Replan API process.
[Process001]
ProcessID=Replan
Project=Demo Advanced
UseAdjustingEntry=1
ExtendFinishDate=1
CreateNewWP=1
AllowPlanned=0
AllowCompleted=0
ProgressAdjustmentClass=Earned
Criteria=Total Project
ReplanMethodId=BP
NewWPName=RepWP
NewWPNameIsSuffix=0
NewWPDescription=Replan WP